package com.jee.support.async;

public class MyCallBack implements CallBack{
	/**
	 * 发送消息后的回调函数
	 */
	public void execute(Object... objects ) {
		/**打印返回的消息**/
		System.out.println(objects[0]);
		/**打印发送消息的线程名称**/
		System.out.println(Thread.currentThread().getName());
		/**中断发送消息的线程**/
		Thread.interrupted();
		new Local().callSomeThing();
	}
}
